<div class="main">
        	<div id="sidebar">
            	<h2 class="help"><a href="<?php echo base_url().'huong-dan-mua-hang.html';?>">Hướng dẫn mua hàng</a></h2>
                <?php if(isset($questions_usually) && $questions_usually !=null) {?>
                <div class="b-left-sp">                	
                	<span class="title">Câu hỏi thường gặp</span>
                    <ul class="sp-l">                                        
                    <?php foreach($questions_usually as $k => $v){?>
                    	<li><a href="<?php echo base_url().'tu-van-hoi-dap/detail/'.$v->id.'/'.$v->title_link.'.html';?>" title="<?php echo $v->title;?>"><?php echo $v->title;?></a></li>
                    <?php }?>                    
                    </ul>                    
                </div>
                <?php }?>
                <div class="b-sidebar">
                	<div class="titile-news">Sản phẩm bán chạy trong tháng</div>
                    <ul class="list-sp">
                    	<?php if(isset($products_best_sales) && $products_best_sales != null) {?>
                    	<?php foreach($products_best_sales as $k => $v) {?>
                    	<li>
                    		<?php $img_path = $this->home_model->get_images_products_by_product_id($v->id);?>
                    		<?php if($img_path != null){?>
                    		<a href="<?php echo base_url().'gian-hang/detail/'.$v->id.'.html';?>" title="<?php echo $v->name;?>">
                        		<img src="<?php echo show_thumb($img_path[0]->img_path,'65-34');?>" title="<?php echo $v->name;?>" alt="<?php echo $v->name;?>" class="thumb" />
                        	</a>
                        	<?php }?>
                            <span class="info"><a href="<?php echo base_url().'gian-hang/detail/'.$v->id.'.html';?>"><?php echo $v->name;?></a><br /> <b><?php echo format_type_money($v->price);?> VND</b></span>
                        </li>
                        <?php }?>
                        <?php }?>
                    </ul>
                </div>
                 <?php
				$file_newest = $this->home_model->get_table_price_newest();
				if(isset($file_newest) && count($file_newest)>0){ ?>
                <div class="btn-download"><a href="<?php echo download_link($file_newest->name_link);?>"><img src="<?php echo img_link('i-download.gif');?>" alt="" title="" /></a></div>
                <?php }?>
            </div>
            <div class="b-qa">                
                <div class="form-ques">
                	<h1 style="color:red;font-size: 14px;">Bạn đã đăng ký nhận email khuyến mại thành công. Xin cảm ơn!</h1><br>
                	Nhấn vào <a href="<?php echo base_url();?>"><b>đây</b></a> để về trang chủ, hoặc trang sẽ tự chuyển sau 3s
                	<META HTTP-EQUIV=refresh CONTENT=3;URL="<?php echo base_url();?>">                    
                </div>
            </div>
        </div>